package com.zxy.demo.junit.runners;

/**
 * PersonImpl.
 * 
 * Created by zxybird on 17/5/15.
 */
public class PersonImpl implements Person {

  private int age;

  private String name;

  public PersonImpl(String name, int age) {
    this.age = age;
    this.name = name;
  }

  @Override
  public int getAge() {
    return age;
  }

  @Override
  public String getName() {
    return name;
  }

  @Override
  public String talkTo(String message) {
    return message;
  }

  @Override
  public void walk() {

  }
}
